import { T_srv, Tsrv, ifs, ts, tvs, vue } from '@/services';
import { I_cmd, T_cmd } from './command';
import { N_TempMonitor } from './type';

const tableData = (): N_TempMonitor.TableData[] => [
  {
    name: '化学除油1槽',
    setUpperLimit: { value: 80, code: 'mycTempMonitor001', conversionRate: 10 },
    setLowerLimit: { value: 60, code: 'my116', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my106', conversionRate: 10 },
    actualTemp: { value: 70, code: 'my092', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1026', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1008', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my502', conversionRate: 1 }
  },
  {
    name: '碱蚀2槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor002', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my117', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my107', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my093', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1027', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1009', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my503', conversionRate: 1 }
  },
  {
    name: '热纯水洗3槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor003', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my118', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my108', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my094', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1028', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1010', conversionRate: 1 },
    overTempAlarm: { value: true, code: 'my504', conversionRate: 1 }
  },
  {
    name: '硫酸阳极化11槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor004', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my119', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my109', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my095', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1029', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1011', conversionRate: 1 },
    coolingStatus: { value: true, code: 'my1018', conversionRate: 1 },
    valveOpening: { value: 0, code: 'mycTempMonitor011', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my505', conversionRate: 1 }
  },
  {
    name: '硫酸阳极化12槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor005', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my120', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my110', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my096', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1030', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1012', conversionRate: 1 },
    coolingStatus: { value: true, code: 'my1019', conversionRate: 1 },
    valveOpening: { value: 0, code: 'mycTempMonitor012', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my506', conversionRate: 1 }
  },
  {
    name: '铬酸阳极化15槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor006', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my121', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my111', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my097', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1031', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1013', conversionRate: 1 },
    coolingStatus: { value: true, code: 'my1020', conversionRate: 1 },
    valveOpening: { value: 0, code: 'mycTempMonitor013', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my507', conversionRate: 1 }
  },
  {
    name: '铬酸封闭20槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor007', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my122', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my112', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my098', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1032', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1014', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my508', conversionRate: 1 }
  },
  {
    name: '热水封闭24槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor008', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my123', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my113', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my099', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1033', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1015', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my509', conversionRate: 1 }
  },
  {
    name: '热水封闭25槽',
    setUpperLimit: { value: 90, code: 'mycTempMonitor009', conversionRate: 10 },
    setLowerLimit: { value: 70, code: 'my124', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my114', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my100', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1034', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1016', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my510', conversionRate: 1 }
  },
  {
    name: '烘干26槽',
    setUpperLimit: {
      value: 90,
      code: 'mycTempMonitor010',
      conversionRate: 10
    },
    setLowerLimit: { value: 70, code: 'my125', conversionRate: 10 },
    tempAdjust: { value: 0, code: 'my115', conversionRate: 10 },
    actualTemp: { value: 80, code: 'my101', conversionRate: 10 },
    autoSwitch: { value: true, code: 'my1035', conversionRate: 1 },
    heatingStatus: { value: true, code: 'my1017', conversionRate: 1 },
    overTempAlarm: { value: false, code: 'my511', conversionRate: 1 }
  }
];

export {
  I_cmd,
  N_TempMonitor,
  T_cmd,
  T_srv,
  Tsrv,
  ifs,
  tableData,
  ts,
  tvs,
  vue
};
